package TestAppli;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import javax.imageio.ImageIO;
import miagemosaik.tools.*;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Magalie
 */
public class MainTestMag {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException {
        
        float[] tab = new float[3];
        BufferedImage image = ImageIO.read( new File( "/Users/DoZ/NetBeansProjects/miagemosaik/src/Icones/Th085.bmp" ) );

        System.out.println("hauteur  : " + image.getHeight());
        System.out.println("largeur : " + image.getWidth());
     //   tab = ImageUtils.moyRGB(image);

        System.out.println("Tableau  : r : " + tab[0] + "g : " + tab[1] + "b" + tab[2] );

    }
}
